package application;

import android.app.Application;

import org.xutils.image.ImageOptions;
import org.xutils.x;

/**
 * Created by lenovo on 2016/8/29.
 */
public class MyApplication extends Application {


    private boolean isLogin =false;
    private String userName = "";
    private String userIcon = "";
    private ImageOptions options;

    public ImageOptions getOptions() {
        return options;
    }

    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean getIsLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        x.Ext.init(this);

        options = new ImageOptions.Builder().setCircular(true).build();

    }


}
